package es.ucm.fdi.isbc.marcado.vista;

import java.awt.GridLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import es.ucm.fdi.isbc.marcado.vista.marcar.PanelMarcar;

public class PanelTabs extends JPanel {
    
	private static final long serialVersionUID = 1L;

	public PanelTabs() {
		setLayout(new GridLayout(1, 1));
		
        JTabbedPane tabbedPane = new JTabbedPane();
        tabbedPane.addTab("Consultar", new PanelConsultar());
        tabbedPane.addTab("Marcar", new PanelMarcar());
        tabbedPane.setSelectedIndex(0);

        add(tabbedPane);
    }
}
